package com.treasure.mall.biz.entity.embeddable;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * 企业信息
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.entity.embeddable
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/12 17:24
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.entity.embeddable Inc. All rights reserved.
 */
@Setter
@Getter
@Embeddable
public class BusinessEntity {

    /**
     * person, enterprise
     */
    @Column(name = "entity_type")
    private String entityType;

    /**
     * 非遗证明
     */
    @Column(name = "certificate_of_intangible_cultural")
    private String certificateOfIntangibleCultural;

    /**
     * 个人
     */
    @Column(length = 30, name = "person_name")
    private String personName;
    /**
     * 身份证号码
     */
    @Column(length = 30, name = "person_id")
    private String personId;
    /**
     * 身份证人面
     */
    @Column(name = "person_id_face")
    private String personIdFace;
    /**
     * 身份证国徽
     */
    @Column(name = "person_id_emblem")
    private String personIdEmblem;

    /**
     * 企业名称
     */
    @Column(name = "enterprise_name")
    private String enterpriseName;

    /**
     * 法人
     */
    @Column(name = "enterprise_legal_person_name")
    private String enterpriseLegalPersonName;
    /**
     * 法人姓名
     */
    @Column(name = "enterprise_legal_person_id")
    private String enterpriseLegalPersonId;


    /**
     * 法人身份证国徽
     */
    @Column(name = "enterprise_legal_person_id_emblem")
    private String enterpriseLegalPersonIdEmblem;
    /**
     * 法人身份证人脸
     */
    @Column(name = "enterprise_legal_person_id_face")
    private String enterpriseLegalPersonIdFace;

    /**
     * 营业执照副本
     */
    @Column(name = "enterprise_License_copy")
    private String enterpriseLicenseCopy;

    /**
     * 企业商标证书
     */
    @Column(name = "enterprise_trademark_license")
    private String enterpriseTrademarkLicense;


}
